#	$Id: Makefile,v 1.1 2006/03/19 20:13:52 jfb Exp $ 
#
# Makefile for mod_perl

.include "../../share/mk/own.mk"

VERSION_MAJOR=0
VERSION_MINOR=1

MOD_NAME=	mod_perl
MOD_AUTHOR=	Jean-Francois Brousseau <phrakt@gmail.com>
MOD_DESC=	embedded Perl interpreter that allows modules to be written \
		in the Perl language

SRCS=		mod_perl.c module.c perl.c startup.c xs.c
MOD=		mod_perl
CONF=		mod_perl.conf

PERLCOREDIR!=	perl -MConfig -e 'print $$Config{archlib}'

CFLAGS+=	-I${PERLCOREDIR}/CORE
LDFLAGS+=	-L/usr/lib -lperl


perlinstall:
	@echo "COREDIR=${PERLCOREDIR}"
	@cd perl && ${MAKE}

.include "../../share/mk/mod.mk"
